package cn.lingyangwl.agile.system.model.rqrs.area;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Max;

/**
 * 行政区划
 *
 * @author shenguangyang
 */
@Getter
@Setter
@ApiModel(value = "查询行政区划")
public class AreaPageReq {
    @ApiModelProperty(value = "页码，从 1 开始", example = "1")
    private Integer pageNum;

    @ApiModelProperty(value = "每页条数，最大值为 100", example = "10")
    @Max(value = 1000, message = "每页条数最大值为 1000")
    private Integer pageSize;

    @ApiModelProperty(value = "区域名称")
    private String areaName;

    @ApiModelProperty(value = "区域id")
    private String areaId;

    @ApiModelProperty(value = "父亲编码")
    private String parentId;

    @ApiModelProperty(value = "状态")
    private String status;
}
